package net.oschina.archx.spring.mybatis.dao;

import net.oschina.archx.spring.mybatis.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {

    int delete(Long id);

    int insert(User user);

    User select(Long id);

    List<User> findAll();
}